package com.ruoyi.lab.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 供应商表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "供应商表")
@TableName(value = "lab_supplier")
public class LabSupplier extends BaseEntity implements Serializable{
    /**
     * 供应商ID，唯一标识符
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "供应商ID，唯一标识符")
    private String id;

    /**
     * 供应商名称
     */
    @TableField(value = "supplier_name")
    @ApiModelProperty(value = "供应商名称")
    @Excel(name = "供应商名称")
    private String supplierName;

    /**
     * 联系方式
     */
    @TableField(value = "contact_info")
    @ApiModelProperty(value = "联系方式")
    @Excel(name = "联系方式")
    private String contactInfo;

    /**
     * 地址
     */
    @TableField(value = "address")
    @ApiModelProperty(value = "地址")
    @Excel(name = "地址")
    private String address;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableField(value = "del_flag")
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    private static final long serialVersionUID = 1L;

}